Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NComboBox Class / FillFromEnum Method / FillFromEnum<TEnum>(Boolean) Method
Determines whether to localize enum values.


In This Topic
    FillFromEnum<TEnum>(Boolean) Method
    In This Topic
    Fills the combo box with the options from the specified enum. Assigns the corresponding enum value to the Tag property of each combo box item.
    Syntax
    'Declaration
     
    
    Public Overloads Sub FillFromEnum(Of TEnum As {New, Struct})( _
       ByVal localizeEnumValues As System.Boolean _
    ) 
    'Usage
     
    
    Dim instance As NComboBox
    Dim localizeEnumValues As System.Boolean
     
    instance.FillFromEnum(Of TEnum)(localizeEnumValues)
    public void FillFromEnum<TEnum>( 
       System.bool localizeEnumValues
    )
    where TEnum: new(), struct

    Parameters

    localizeEnumValues
    Determines whether to localize enum values.

    Type Parameters

    TEnum
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also